package com.xiaoc.bulldozer.common.dto;

import com.xiaoc.bulldozer.common.model.StatisticUser;
import com.xc.framework.common.page.PageDto;
import com.xc.framework.common.page.PageUtil;

/**
 * StatisticUser 查询Dto
 *
 * @author Danfo Yam
 *
 * @date 2018-10-15 15:40:26
 */
public class StatisticUserQueryDto extends StatisticUser {
    
    private static final long serialVersionUID = 1L;


    /**
     * 当前页码
     */
    private Integer page;

    /**
     * 总行数
     */
    private Integer totalCount;

    /**
     * 起始行
     */
    private Integer offset;

    /**
     * 每页行数
     */
    private Integer limit;

    private String showLimit;

    /**
     * 开始时间
     */
    private String startTimeStr;

    /**
     * 结束时间
     */
    private String endTimeStr;
    
    private Long startTime;
    
    private Long endTime;
    
    /**
     * tb_sub_bank表code
     */
    private String subBankCode;
    
    private String phoneNumber;

    private String name;
    
    private String managerName;
    
    private String bankName;
    
    /**
     * 点赞数
     */
    private Integer partnerNum;

    /**
     * 注册数
     */
    private Integer accountNum;

    /**
     * 申贷数
     */
    private Integer loanNum;
    
    private Integer type;
    
    private Integer tag;

    public String getShowLimit() {
        return showLimit;
    }

    public void setShowLimit(String showLimit) {
        this.showLimit = showLimit;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
        int[] pager = PageUtil.getPager(page, PageDto.PAGE_SIZE);
        this.setOffset(pager[0]);
        this.setLimit(pager[1]);
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getStartTimeStr() {
        return startTimeStr;
    }

    public void setStartTimeStr(String startTimeStr) {
        this.startTimeStr = startTimeStr;
    }

    public String getEndTimeStr() {
        return endTimeStr;
    }

    public void setEndTimeStr(String endTimeStr) {
        this.endTimeStr = endTimeStr;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getSubBankCode() {
        return subBankCode;
    }

    public void setSubBankCode(String subBankCode) {
        this.subBankCode = subBankCode;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public Integer getPartnerNum() {
        return partnerNum;
    }

    public void setPartnerNum(Integer partnerNum) {
        this.partnerNum = partnerNum;
    }

    public Integer getAccountNum() {
        return accountNum;
    }

    public void setAccountNum(Integer accountNum) {
        this.accountNum = accountNum;
    }

    public Integer getLoanNum() {
        return loanNum;
    }

    public void setLoanNum(Integer loanNum) {
        this.loanNum = loanNum;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getTag() {
        return tag;
    }

    public void setTag(Integer tag) {
        this.tag = tag;
    }

}
